<?php
$mitrovo=$_SERVER['PHP_SELF'];
$bottonealtre=strpos($mitrovo, 'bottonealtrenews.php');
if($bottonealtre!= 0) 
{
 require_once( '../../../inc/header.inc.php' );
 require_once( BX_DIRECTORY_PATH_INC.'design.inc.php' );
 require_once( BX_DIRECTORY_PATH_INC.'profiles.inc.php' );
 require_once( BX_DIRECTORY_PATH_INC.'utils.inc.php' );
}
if(isset($_POST['contanews'])){$contanews=$_POST['contanews'];}
if(isset($_POST['limite'])) {$limite=$_POST['limite'];}
if(isset($_POST['pagina'])) {$pagina=$_POST['pagina'];}
if(isset($_POST['idrichiesto'])) { $mioid = $_POST['idrichiesto']; } else { $mioid = getID($_REQUEST['ID']);}
if(isset($_POST['ultimoid'])) {$ultimoid=$_POST['ultimoid'];}  else { $ultimoid = $GLOBAL['ultimoid']; }
echo '<a href="javascript:altrenews('.$contanews.','.$limite.',\' '.$pagina.' \','.$mioid.','.$ultimoid.');" class="primoaltre"><b>'._t('_ibdw_spywall_altrenews').'</b></a>';
?>